25 in Maria Rosa Moretti's and Anna Sorrento's Catalogo tematico delle musiche di Niccolò Paganini which was published in 1982.
The Caprices are in the form of études, with each number exploring different skills (double stopped trills, extremely fast switching of positions and strings, etc.)
When Paganini released his Caprices, he dedicated them "alli artisti" (to the artists) rather than to a specific person.
A sort of dedication can be recognized in Paganini's own score, where he annotated between 1832 and 1840 the following 'dedicatee' for each Caprice (possibly ready for a new printed edition):[1] 1: Henri Vieuxtemps; 2: Giuseppe Austri; 3: Ernesto Camillo Sivori; 4: Ole Bornemann Bull; 5: Heinrich Wilhelm Ernst; 6: Karol Józef Lipiński; 7: Franz Liszt; 8: Delphin Alard; 9: Herrmann; 10: Theodor Haumann [it]; 11: Sigismond Thalberg; 12: Dhuler; 13: Charles Philippe Lafont; 14: Jacques Pierre Rode; 15: Louis Spohr; 16: Rodolphe Kreutzer; 17: Alexandre Artôt; 18: Antoine Bohrer; 19: Andreas Jakob Romberg; 20: Carlo Bignami; 21: Antonio Bazzini; 22: Luigi Alliani; 23: [no name]; 24: Nicolò Paganini, sepolto pur troppo (to my self, regrettably buried).
David, as editor, also issued an edition of Caprices with piano accompaniments by Robert Schumann.