The movie, the pilot, and the 1975 Christmas special might be a source of some confusion.
There were 28 serial episodes in 4 seasons/series (counting the pilot and Christmas special).
Here's an episode list:
Rooksby[pilot episode] (2 Sep 74)
Series 1
Black Magic (13 Dec 74)
Charisma (20 Dec 74)
A Night Out (27 Dec 74)
All Our Yesterdays (3 Jan 75)
The Prowler (10 Jan 75)
Stand Up And Be Counted (17 Jan 75)
Series 2
Permissive Society (7 Nov 75)
Food Glorious Food (14 Nov 75)
A Body Like Mine (21 Nov 75)
Moonlight And Roses (28 Nov 75)
The Perfect Gentleman (5 Dec 75)
The Last Of The Big Spenders (12 Dec 75)
Things That Go Bump In The Night (19 Dec 75)
For The Man Who Has Everything[1975 christmas special] (26 Dec 75)
Series 3
That's My Boy (12 Apr 77)
Stage Struck (19 Apr 77)
Clunk Click (26 Apr 77)
The Good Samaritans (3 May 77)
Fawcett's Python (10 May 77)
The Cocktail Hour (17 May 77)
Suddenly At Home (24 May 77)
Series 4
Hello Young Lovers (4 Apr 78)
Fire And Brimstone (11 Apr 78)
Great Expectations (18 Apr 78)
Pink Carnations (25 Apr 78)
Under The Influence (2 May 78)
Come On In - The Water's Lovely (9 May 78)